package com.IntelligentCommunity.community.service;

import com.IntelligentCommunity.common.core.domain.R;
import com.IntelligentCommunity.community.domain.DistrictCount;
import com.IntelligentCommunity.community.domain.EstateCount;
import com.IntelligentCommunity.community.domain.PopulationCount;
import com.IntelligentCommunity.community.domain.StatisticsData;

import java.util.List;

/**
 * @Author：ZHP
 * @Package：com.IntelligentCommunity.community.service
 * @Project：IntelligentCommunity
 * @name：StatisticsDataService
 * @Date：2024/7/21 12:00
 * @Filename：StatisticsDataService
 */
public interface StatisticsDataService {
    /**
     * 获取统计数据
     * @return 结构体
     */
    R<StatisticsData> getStatisticsData();

    /**
     * 获取区域数量
     * @param id 区域id
     * @return 结构体
     */
    DistrictCount getDistrictCount(Long id);

    /**
     * 获取人口数量
     * @return 结构体
     */
    R<List<PopulationCount>> getPopulationCount();

    R<List<EstateCount>> estateCount();
}
